#encoding:utf-8
module Jy_enemy_set
  
  #设置精英怪: by=出现率,param=基础属性,drop=掉落,gold=金钱,exp=经验值
  Jy1_by    = 50
  Jy1_param = 1.0
  Jy1_drop  = 0.5
  Jy1_gold  = 0.1
  Jy1_exp   = 1.1
  
  Jy2_by    = 40
  Jy2_param = 1.1
  Jy2_drop  = 0.5
  Jy2_gold  = 0.1
  Jy2_exp   = 1.3
  
  Jy3_by    = 30
  Jy3_param = 1.5
  Jy3_drop  = 0.8
  Jy3_gold  = 0.1
  Jy3_exp   = 1.5
  
  Jy4_by    = 20
  Jy4_param = 1.7
  Jy4_drop  = 1.1
  Jy4_gold  = 0.2
  Jy4_exp   = 1.7
  
  Jy5_by    = 10
  Jy5_param = 2.0
  Jy5_drop  = 1.5
  Jy5_gold  = 0.3
  Jy5_exp   = 2
  
  #不会成为精英怪的敌人
#~   No_jy = [61,145,146,9,22,83,101,109,126,26,87,164,165,166,178,188,189,
#~   190,191,192,193,194,195,253,254,255,274,275,279,281,282,283,284,286,287,306,
#~   366,367,368,370,371,378,379,382,412] 
  No_jy = [85,86,87,104,105,106,107,108,109,110,111,112,117,118,119,120,121,
  132,133,140,151,193,305,155,156,157,208,209,210,212]
end
module KELASE
  def self.dlcx2
    $data_skills[937] = $data_skills[936]
  end
  def self.getcpuid
    win32 = Win32API.new("System/rmpt.dll","getcpu",'','p')
    emm = win32.call()
    emm = en_str(emm)
  end
end
module RPGBOY
  def self.on_error_attack(text)
    p text
    #RPGBOY.call_message_box(text,"错误:")
    #RPGBOY.call_message_box("你的存档已经受损\r\n如果有必要请使用3.5以上版本开新存档继续游玩\r\n如果游戏内不会闪退,请忽略本提示","错误:")
  end
  
  def self.shutdown_computer
    p "关机"
  end
  
  def self.logger2(text)
    p text
  end
end

#3.2版本以下使用